<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> 
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>  

<div class="container">
<!-- 회원가입 2단계 프로필 입력 창 -->
<div id="info">
	<h2><img src="./image/title_img7.jpg"/></h2>
</div>

	<div id="modifyProfil"><br><br>
	<form:form commandName="profilCommand" role="form" class="form-horizontal" 
			name="modifyProfilForm" id="modifyProfilForm" method="post" enctype="multipart/form-data" action="modifyProfil.do">
		<form:errors element="div"/>
			<form:hidden path="id" value="${id}"/>
			<div class="form-group">
				<div id="title" class="col-md-12 col-xs-12 col-sm-12" align="center">
					<spring:message code="member.modifyProfil.title"/>
				</div>
			</div>
			<div class="form-group">
				<label for="age" class="col-md-2 col-xs-2 col-sm-2 control-label">나이</label>
				<div class="col-md-3 col-xs-3 col-sm-3">
					<form:input path="age" class="form-control"/>
				</div>
				<div class="col-md-4 col-xs-4 col-sm-4">
					세
				</div>
				<div class="col-md-3 col-xs-3 col-sm-3">
					<font color="red"><form:errors path="age"/></font> <br>
				</div>
			</div>
			<div class="form-group">
				<label for="height" class="col-md-2 col-xs-2 col-sm-2 control-label">키</label>
				<div class="col-md-3 col-xs-3 col-sm-3">
					<form:input path="height" class="form-control"/>
				</div>
				<div class="col-md-4 col-xs-4 col-sm-4">
					cm
				</div>
				<div class="col-md-3 col-xs-3 col-sm-3">
					<font color="red"><form:errors path="height"/></font> <br>
				</div>
			</div>
			<div class="form-group">
				<label for="home" class="col-md-2 col-xs-2 col-sm-2 control-label">거주지</label>
				<div class="col-md-7 col-xs-7 col-sm-7">
					<form:radiobutton path="home" value="수도권" checked="true"/>수도권 &nbsp;&nbsp;
					<form:radiobutton path="home" value="강원도" />강원도 &nbsp;&nbsp;
					<form:radiobutton path="home" value="경상도" />경상도 &nbsp;&nbsp;
					<form:radiobutton path="home" value="전라도" />전라도 &nbsp;&nbsp;
					<form:radiobutton path="home" value="충청도" />충청도 &nbsp;&nbsp;
					<form:radiobutton path="home" value="제주도" />제주도
				</div>
				<div class="col-md-3 col-xs-3 col-sm-3">
				</div>
			</div>
			<div class="form-group">
				<label for="bodyty" class="col-md-2 col-xs-2 col-sm-2 control-label">체형</label>
				<div class="col-md-7 col-xs-7 col-sm-7">
					<form:radiobutton path="bodyty" value="날씬형" checked="true"/>날씬형 &nbsp;&nbsp;
					<form:radiobutton path="bodyty" value="보통형" />보통형 &nbsp;&nbsp;
					<form:radiobutton path="bodyty" value="통통형" />통통형 &nbsp;&nbsp;
					<form:radiobutton path="bodyty" value="뚱뚱형" />뚱뚱형 &nbsp;&nbsp;
					<form:radiobutton path="bodyty" value="근육형" />근육형
				</div>
				<div class="col-md-3 col-xs-3 col-sm-3">
				</div>
			</div>
			<div class="form-group">
				<label for="charac" class="col-md-2 col-xs-2 col-sm-2 control-label">성격</label>
				<div class="col-md-7 col-xs-7 col-sm-7">
					<form:radiobutton path="charac" value="명랑발랄" checked="true"/>명랑발랄 &nbsp;
					<form:radiobutton path="charac" value="차분깔끔" />차분깔끔 &nbsp;
					<form:radiobutton path="charac" value="개그맨" />개그맨 &nbsp;
					<form:radiobutton path="charac" value="솔직담백" />솔직담백 &nbsp;
					<form:radiobutton path="charac" value="애교미소" />애교미소 &nbsp;
					<form:radiobutton path="charac" value="카리스마" />카리스마
				</div>
				<div class="col-md-3 col-xs-3 col-sm-3">
				</div>
			</div>
			<div class="form-group">
				<label for="image" class="col-md-2 col-xs-2 col-sm-2 control-label">이미지</label>
				<input type="file" id="file" name="file" class="col-md-7 col-xs-7 col-sm-7 control-label" value="파일 선택">
				<div class="col-md-3 col-xs-3 col-sm-3">
					<font color="red"><form:errors path="file"/></font> <br>
				</div>
			</div>
			<div class="form-group">
				<label for="content" class="col-md-2 col-xs-2 col-sm-2 control-label">자기소개</label>
				<div class="col-md-7 col-xs-7 col-sm-7">
					<form:textarea cols="55" rows="5" path="content" maxlength="300" placeholder="맛깔난 소개로 이성에서 어필해보세요" class="form-control"/>
				</div>
				<div class="col-md-3 col-xs-3 col-sm-3">
					<font color="red"><form:errors path="content"/></font> <br>
				</div>
			</div>
			
			
			
			<!-- 선택입력 항목 -->
			<div class="form-group">
				<label for="guide" id="guide" class="col-md-12 col-xs-12 col-sm-12 control-label">=====  선택입력 항목입니다  =====</label>
			</div>
			
			<div class="form-group">
				<label for="job" class="col-md-2 col-xs-2 col-sm-2 control-label">직업</label>
				<div class="col-md-9 col-xs-9 col-sm-9">
					<form:radiobutton path="job" value="선택안함" checked="true"/>선택안함 &nbsp;&nbsp;
					<form:radiobutton path="job" value="회사원" />회사원 &nbsp;&nbsp;
					<form:radiobutton path="job" value="공무원" />공무원 &nbsp;&nbsp;
					<form:radiobutton path="job" value="자영업" />자영업 &nbsp;&nbsp;
					<form:radiobutton path="job" value="프리랜서" />프리랜서 &nbsp;&nbsp;
					<form:radiobutton path="job" value="대학(원)생" />대학원생 &nbsp;&nbsp;
					<form:radiobutton path="job" value="백수/백조" />백수백조
				</div>
			</div>
			<div class="form-group">
				<label for="fashion" class="col-md-2 col-xs-2 col-sm-2 control-label">패션스타일</label>
				<div class="col-md-9 col-xs-9 col-sm-9">
					<form:radiobutton path="fashion" value="선택안함" checked="true"/>선택안함 &nbsp;&nbsp;
					<form:radiobutton path="fashion" value="슈트" />슈트 &nbsp;&nbsp;
					<form:radiobutton path="fashion" value="뉴요커" />뉴요커 &nbsp;&nbsp;
					<form:radiobutton path="fashion" value="몸짱" />몸짱 &nbsp;&nbsp;
					<form:radiobutton path="fashion" value="럭셔리" />럭셔리 &nbsp;&nbsp;
					<form:radiobutton path="fashion" value="힙합" />힙합 &nbsp;&nbsp;
					<form:radiobutton path="fashion" value="캐쥬얼" />캐쥬얼 &nbsp;&nbsp;
					<form:radiobutton path="fashion" value="하의실종" />하의실종
				</div>
			</div>
			<div class="form-group">
				<label for="bloodty" class="col-md-2 col-xs-2 col-sm-2 control-label">혈액형</label>
				<div class="col-md-9 col-xs-9 col-sm-9">
					<form:radiobutton path="bloodty" value="선택안함" checked="true"/>선택안함 &nbsp;&nbsp;
					<form:radiobutton path="bloodty" value="A형" />A형 &nbsp;&nbsp;
					<form:radiobutton path="bloodty" value="B형" />B형 &nbsp;&nbsp;
					<form:radiobutton path="bloodty" value="O형" />O형 &nbsp;&nbsp;
					<form:radiobutton path="bloodty" value="AB형" />AB형
				</div>
			</div>
			<div class="form-group">
				<label for="smoke" class="col-md-2 col-xs-2 col-sm-2 control-label">흡연여부</label>
				<div class="col-md-9 col-xs-9 col-sm-9">
					<form:radiobutton path="smoke" value="선택안함" checked="true"/>선택안함 &nbsp;&nbsp;
					<form:radiobutton path="smoke" value="안핌" />안핌 &nbsp;&nbsp;
					<form:radiobutton path="smoke" value="가끔" />가끔 &nbsp;&nbsp;
					<form:radiobutton path="smoke" value="일 1갑 미만" />일 1갑 미만 &nbsp;&nbsp;
					<form:radiobutton path="smoke" value="일 1갑 이상" />일 1갑 이상
				</div>
			</div>
			
			<div class="form-group">
				<div class="col-md-12 col-xs-12 col-sm-12" align="center">
					<input type="submit" class="btn btn-default" value="수정">&nbsp;&nbsp;&nbsp;&nbsp;
					<input type="button" class="btn btn-default" value="취소" onclick="location.href='myPage.do'">
				</div>
			</div>
	</form:form>
	</div>
</div>
